Update from code changes: sourceRef nested GitLab subgroup paths - #7273
Open
mintlify[bot] wants to merge 1 commit into
Open
Update from code changes: sourceRef nested GitLab subgroup paths#7273mintlify[bot] wants to merge 1 commit into
mintlify[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sourceRefvalues in multi-repository deployments now accept GitLab repository paths with two or more segments, so repos in nested subgroups can be referenced by their full group path or by a shortsubgroup/repoalias. Previously, resolution required exactly two segments and nested-subgroup repos could not be referenced at all. Short aliases are dropped when two sources share the same trailing segments, in which case the full path is required. Single-segment values still fail validation.https://github.com/mintlify/server/pull/7952
Changes
sourceRefrequirements ondeploy/multi-repo.mdx: values need at least two path segments, full nested paths are supported, and short trailing aliases work unless ambiguous.sourceRefexample to the usage section.Note
Low Risk
Documentation-only changes to multi-repo
sourceRefguidance with no runtime or config code touched.Overview
Updates multi-repository
sourceRefdocs to match new resolution rules (see mintlify/server#7952): values need at least two path segments (not strictlyowner/repo), and GitLab repos in nested subgroups can use a full path such asacme/platform/api-docsor a two-segment alias when it is unambiguous.The Requirements and Usage sections in
deploy/multi-repo.mdxgain GitLab-specific guidance and a nested-subgroup JSON example; the same edits are mirrored in the Spanish, French, and Chinese pages.Reviewed by Cursor Bugbot for commit 039679b. Bugbot is set up for automated code reviews on this repo. Configure here.